package com.hunttown.mes.common;

/**
 * API请求返回状态码
 * created by wangjunfu on 2019-09-05
 */
public class ApiReturnStatus {
    public static int HttpOk = 200;
    public static String HttpOkTips = "请求成功";

    public static int HttpFail = 202;
    public static String HttpFailTips = "请求成功，但是操作失败";

    public static int UpdateFail = 204;
    public static String UpdateFailTips = "数据更新失败";

    public static int HttpNotFund = 404;
    public static String HttpNotFundTips = "非法请求";

    public static int HttpBadService = 503;
    public static String HttpBadServiceTips = "服务器错误";

    public static int NoData = 601;
    public static String NoDataTips = "已经没有数据了";

    public static int JsonResolvingFail = 602;
    public static String JsonResolvingFailTips = "Json解析错误";

    public static int NoConfigParamFail = 603;
    public static String NoConfigParamFailTips = "未查询到配置文件";

    public static int FileUploadFail = 604;
    public static String FileUploadFailTips = "文件上传失败";

    public static int FileUploadSizeFail = 605;
    public static String FileUploadSizeFailTips = "文件大小超过限制";

    public static int FileUploadTypeFail = 606;
    public static String FileUploadTypeFailTips = "上传文件类型错误";

    public static int NotBindEquipment = 701;
    public static String NotBindEquipmentTips = "您未绑定任何设备";

    public static int AlreadyBind = 702;
    public static String AlreadyBindTips = "您已绑定此设备";

    public static int UserOrMobileErr = 703;
    public static String UserOrMobileErrTips = "户主姓名或手机号不正确";

    public static int NotBindAnyEquipment = 704;
    public static String NotBindAnyEquipmentTips = "当前户主未绑定任何设备";

    public static int TravelDirectFail = 721;
    public static String TravelDirectFailTips = "主调审核失败";

    public static int CarRepair = 751;
    public static String CarRepairTips = "车辆正维修中，请更换车辆";

    public static int CarNoDriver = 752;
    public static String CarNoDriverTips = "车辆未绑定司机，请先绑定司机";

    public static int NoDriver = 771;
    public static String NoDriverTips = "司机信息异常";

    public static int DriverForbidden = 772;
    public static String DriverForbiddenTips = "司机已禁用";

    public static int DriverLeave = 773;
    public static String DriverLeaveTips = "司机已离职";

    public static int UserRegister = 800;
    public static String UserRegisterTips = "已注册";

    public static int UserNoRegister = 801;
    public static String UserNoRegisterTips = "未注册";

    public static int UserForbidden = 802;
    public static String UserForbiddenTips = "您已被禁用，如有疑问请联系管理员";

    public static int MobileBind = 803;
    public static String MobileBindTips = "此手机号已被绑定，请联系管理员";

    public static int MobileBindFail = 804;
    public static String MobileBindFailTips = "手机号绑定失败，请重试";

    public static int MobileNoBind = 805;
    public static String MobileNoBindTips = "您未绑定手机号，请先绑定手机号";

    public static int UserLeave = 806;
    public static String UserLeaveTips = "您已离职";

    public static int NonMember = 807;
    public static String NonMemberTips = "您还不是我们的会员";

    public static int SmsSendSuccess = 860;
    public static String SmsSendSuccessTips = "短信发送成功";

    public static int SmsSendFail = 861;
    public static String SmsSendFailTips = "短信发送失败";

    public static int SmsCodeUsed = 862;
    public static String SmsCodeUsedTips = "验证码已使用";

    public static int SmsCodeInvalid = 863;
    public static String SmsCodeInvalidTips = "验证码已过期";

    public static int SmsCodeFail = 864;
    public static String SmsCodeFailTips = "验证码错误";

    public static int SmsCodeOften = 865;
    public static String SmsCodeOftenTips = "请一分钟之后再发送";

    public static int ApproveCreateOk = 880;
    public static String ApproveCreateOkTips = "生成审批流程成功";

    public static int ApproveCreateFail = 881;
    public static String ApproveCreateFailTips = "生成审批流程失败";

    public static int ApproveOk = 882;
    public static String ApproveOkTips = "审批成功";

    public static int ApproveFail = 883;
    public static String ApproveFailTips = "审批失败";

    public static int Timeout = 901;
    public static String TimeoutTips = "请求超时";

    public static int SignatureFail = 902;
    public static String SignatureFailTips = "签名错误";

    public static int IndetityFail = 903;
    public static String IndetityFailTips = "身份认证失败";

    public static int LackParam = 904;
    public static String LackParamTips = "缺失必要参数";

    public static int OutRange = 905;
    public static String OutRangeTips = "超出使用频率";

    public static int LackAPPID = 906;
    public static String LackAPPIDTips = "缺少APPID";

    public static int LackInfo = 907;
    public static String LackInfoTips = "有未填信息";

    public static int LackToken = 908;
    public static String LackTokenTips = "未查询到token";

    public static int TokenFail = 909;
    public static String TokenFailTips = "token错误";

    public static int UserNameErr = 921;
    public static String UserNameErrTips = "会员姓名不合理";

    public static int MobileErr = 922;
    public static String MobileErrTips = "手机号不正确";

    public static int UserNameExist = 923;
    public static String UserNameExistTips = "会员姓名已存在";

    public static int MobileExist = 924;
    public static String MobileExistTips = "手机号已存在";

    // 管理员小程序接口（从1001开始）

    // 司机小程序接口（从2001开始）
    public static int DriverNoRegister = 2001;
    public static String DriverNoRegisterTips = "您尚未注册为公司司机，请联系管理员";

    public static int ManageNoRegister = 2002;
    public static String ManageNoRegisterTips = "您尚未注册为公司员工，请联系管理员";

    // 勘察接口
    public static int SurveyNoInstallFiles = 2101;
    public static String SurveyNoInstallFilesTips = "请上传现场安装照片";

    public static int NoForwardName = 2102;
    public static String NoForwardNameTips = "未查询到转派人员";

    // LBS定位接口
    public static int GaoDeHttpGetFail = 2200;
    public static String GaoDeHttpGetFailTips = "高德接口调用失败";

    public static int LBSLackService = 2201;
    public static String LBSLackServiceTips = "未创建位置服务";

    public static int LBSPointFreeze = 2202;
    public static String LBSPointFreezeTips = "坐标点保存冷静期";

    public static int LBSSamePoint = 2203;
    public static String LBSSamePointTips = "相同坐标点不保存";

    // 用户小程序接口（从3001开始）

}
